package com.zzj.dao;

import com.zzj.bean.DeptBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DeptDao {
    DeptBean findOneById(@Param("did") int id);
    int selectOneIdByName(String name);
    List<String> selectAllRoleByDid(int did);
    List<String> findAllDname();
}
